package com.sinosoft.cloud.dp.service;

import com.sinosoft.cloud.dp.thread.BusinessService;

import java.util.HashMap;

public class WriteDBService implements BusinessService {
    @Override
    public void prepareElement() {
    }

    @Override
    public boolean hasMoreElement() {
        return false;
    }

    @Override
    public HashMap nextElement() {
        return null;
    }

    @Override
    public HashMap processOneElement(HashMap aElement) {
        return null;
    }

    @Override
    public boolean saveOneElement(HashMap aElement) {
        return false;
    }

    @Override
    public boolean flushAllElements() {
        return false;
    }

    @Override
    public void onInitialiseResource() {

    }

    @Override
    public void onReleaseResource() {

    }

    @Override
    public void dealException() {

    }

    @Override
    public void setExceptionFlag(boolean bExceptionFlag) {

    }

    @Override
    public boolean getExceptionFlag() {
        return false;
    }
}
